import request from '@/router/axios';

//获取港口/车站列表
export const getList = (current, size, params) => {
    return request({
        url: '/api/blade-tms/blade-station/station/list',
        method: 'get',
        params: {
            ...params,
            current,
            size,
        }
    })
}
//坦克罐新增/编辑
export const update = (data) => {
    return request({
        url: '/api/blade-tms/blade-station/station/submit',
        method: 'post',
        data: {
            ...data,
        }
    })
}
//坦克罐删除
export const deleteStation = (data) => {
    return request({
        url: '/api/blade-tms/blade-station/station/remove?ids=' + data,
        method: 'post',
    })
}